package com.linewell.entity;

public class Letter {
    private String letterId;

	private UserInfo writerUser;

    private UserInfo readerUser;

    private String content;

    private String sendTime;

    private int isRead;

	private String parentId;

	private Article article;

    public Letter(){
    	writerUser=new UserInfo();
    	readerUser=new UserInfo();
    }

	public Article getArticle() {
		return article;
	}

	public void setArticle(Article article) {
		this.article = article;
	}

	public UserInfo getWriterUser() {
		return writerUser;
	}

	public void setWriterUser(UserInfo writerUser) {
		this.writerUser = writerUser;
	}

	public UserInfo getReaderUser() {
		return readerUser;
	}

	public void setReaderUser(UserInfo readerUser) {
		this.readerUser = readerUser;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getSendTime() {
		return sendTime;
	}

	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}

	public int getIsRead() {
		return isRead;
	}

	public void setIsRead(int isRead) {
		this.isRead = isRead;
	}

	public String getLetterId() {
		return letterId;
	}

	public void setLetterId(String letterId) {
		this.letterId = letterId;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
}